<Project>
  <Import Project="$(MSBuildThisFileDirectory)..\TestUtils\TestProjects.targets" />

  <!--
    Some known framework references are downstream of dotnet/runtime and don't exist with the build's
    versions. Remove them before the SDK tries to download them.
  -->
  <Target Name="RemoveUpstackKnownFrameworkReferences"
          BeforeTargets="ProcessFrameworkReferences">
    <ItemGroup>
      <KnownFrameworkReference Remove="Microsoft.AspNetCore.App" />
      <KnownFrameworkReference Remove="Microsoft.WindowsDesktop.App" />
      <KnownFrameworkReference Remove="Microsoft.WindowsDesktop.App.WPF" />
      <KnownFrameworkReference Remove="Microsoft.WindowsDesktop.App.WindowsForms" />
    </ItemGroup>
  </Target>

</Project>
